import demjson

__all__ = ['dumps', 'loads']


def dumps(text, *args, **kwargs):
    return demjson.encode(text, *args, **kwargs)


def loads(text, *args, **kwargs):
    return demjson.decode(text, *args, **kwargs)
